<div class="task1">
    <style type="text/css">
        p a{
            color:#4F815C;
            text-decoration: none

        }
        p{
            color:#4F815C;
        }

        input[class="my_search"][type="submit"] {
            background-image: url("../images/image_search/icon-22-search.png") !important;
            border: medium none;
            cursor: pointer;
            height: 23px !important;
            width: 23px !important;
        }
        span{
            color:red;
        }

    </style>

    <?php
    
    echo '<div class="form-wrapper" style="text-align:cemter;">';
    echo '<fieldset style="margin: 0 auto;width:90%;height: auto;border: 1px #ccc solid; padding:20px 15px 20px 15px;-moz-border-radius:10px;">';
    echo '<legend align="center"><div class="heading" style="margin: 0 auto;width: 100%;height: auto;border: 0px #ccc solid;text-align: center;font-size: 20px;color:#006600;">Report Management</div></legend>';
     if($this->session->userdata('valid')){
         echo $this->session->userdata('valid');
         echo $this->session->unset_userdata('valid');
         
     }else if($this->session->userdata('valid_num')){
                echo  $this->session->userdata('valid_num');
                echo $this->session->unset_userdata('valid_num');
     }
    echo '<br/><br/>';

    echo '<div id="search">';

    echo form_open('report/find_date_report');
    echo '<p>From: <input type="text" name="txt_datestart" class="datepicker" >  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; To:<input type="text" name="txt_date_to" class="datepicker"><input name="btn_submit" type="submit" class="my_search" value="" /></p>';
    echo form_close();
    echo '</div>';
    echo '<br/><br/>';
    echo '<div id="iconreport">';
    echo '<table align="center">';
        echo '<tr>';
            echo '<td>'.anchor('report/daily', img('images/web_images/daily.png')).'</td>';
            echo '<td>'.anchor('report/monthly', img('images/web_images/monthly.png')).'</td>';
            echo '<td>'.anchor('report/yearly', img('images/web_images/year.png')).'</td>';
        echo '</tr>';
        echo '<tr >';
            echo '<td>'.anchor('report/daily','Daily Report',array('style'=>'text-decoration:none; color:#5C9416;')).'</td>';
            echo '<td>'.anchor('report/monthly', 'Monthly Report',array('style'=>'text-decoration:none; color:#5C9416;')).'</td>';
            echo '<td>'.anchor('report/yearly', 'Yearly Repoert',array('style'=>'text-decoration:none; color:#5C9416;')).'</td>';
        echo '</tr>';
    echo '</table>';
//    echo ; 
//    echo ;
    echo'</div>';
//    echo '<p id="title" >' ;
//    echo ;
//    echo  . . '</p>';
    echo '</fieldset>';
    echo '<br/>';
    echo '</div>';
    ?>
</div>